/**
 * @description http接口API集中管理
 */
const { http } = uni.$u

let sysLoginUrl = '/sys/login';

module.exports = (vm) => {
	//用户登录
	let sysLogin = (params = {}) => http.post(sysLoginUrl, params);
	
	vm.$u.api = {
		sysLogin
	}
}
